package com.atguigu.collection;

import java.util.Arrays;

/**
 * @author durant
 * @create 2021-10-21 10:22
 */
public class ArraysTest03 {
    public static void main(String[] args) {
        //二维数组的声明
        int[][] ars=new int[2][3];
//        System.out.println(Arrays.toString(ars[1]));
//        System.out.println(ars[0]);
        String[][] str=new String[][]{{"你好1"},{"你好2","哈哈"},{"你好3","哈哈","嘿嘿"}};
        System.out.println(Arrays.toString(str[1]));


        int [][]ARRS=new int[2][];
        System.out.println(ARRS.length);
        ARRS[0]=new int[3];
        ARRS[1]=new int[4];
        System.out.println(Arrays.toString(ARRS[1]));
    }
}
